 <#macro listViews>
	  <div class="col-sm-4">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>最新消息</h5>
                <div class="ibox-tools">
                	 <#if (total > 0)>
                	 	<span class="label label-warning-light">${total}条未读</span>
                    </#if>
                      <a  data-name="消息中心" data-url="${WEB_PATH }/reg/msgnotice/view/index.do" class="btn-outline btn-success btn-xs tabClass">更多</a>
                </div>
            </div>
            <div class="ibox-content" style="height: 180px;">
          
              <#if (msgNoticeList?size>0)>
                <div>
                    <div class="feed-activity-list">
                   
                        <#list msgNoticeList as map >
                            <div class="feed-element">
                                <div class="media-body ">
                                        <small class="pull-right">${(map['CJSJ'])}</small>
                                           <a class="tabClass" href="javascript:;" data-name="${map['msgTitle']}" data-url="${WEB_PATH }/reg/msgnotice/view/detail.do?id=${map['ID']}">
                                           <small>${map['msgTitle']}</small> 
                                         </a>
                                </div>
                            </div>
                        </#list> 
                    </div>
                </div>
                 <#else>
                  <p class="text-left">&nbsp;</p>
                  <p class="text-center">&nbsp;</p>
          		  <p class="text-center">您暂时没有最新消息</p>
           		 <p class="text-right">&nbsp;</p>
              </#if>
            </div>
        </div>
	</div>
</#macro>

 <#macro lawViews>
	  <div class="col-sm-4">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>法律法规</h5>
                <div class="ibox-tools">
                      <a  data-name="新法律法规" data-url="${WEB_PATH}/reg/law/view/noticeindex.do" class="btn-outline btn-success btn-xs tabClass">更多</a>
                </div>
            </div>
            <div class="ibox-content" style="height: 180px;">
				<#if (lawList?size>0)>	
                <div>
                    <div class="feed-activity-list">
                   <#list lawList as map >
                        <div class="feed-element">
                       
                            <div class="media-body ">
                                    <small class="pull-right">${map['inputdate']}</small>
                                     <a class="tabClass" data-name="${map['title']}" data-url="${WEB_PATH}/reg/law/view/noticedetail.do?id=${map['ID']}">
                                     	<small>${map['title']}</small> 
                                     </a>
                                    <br>
                            </div>
                       
                        </div>
                    </#list>  
                    </div>
                </div>
                  <#else>
                  <p class="text-left">&nbsp;</p>
                  <p class="text-center">&nbsp;</p>
          		  <p class="text-center">暂时没有法律法规信息</p>
           		 <p class="text-right">&nbsp;</p>
              </#if>
            </div>
        </div>
	</div>
</#macro>


 <#macro noticeViews>
	  <div class="col-sm-4">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>系统公告</h5>
                <div class="ibox-tools">
                   <a  data-name="系统公告" data-url="${WEB_PATH}/reg/notice/view/noticeindex.do" class="btn-outline btn-success btn-xs tabClass">更多</a>
                </div>
            </div>
            <div class="ibox-content" style="height: 180px;">
			<#if (noticeList?size>0)>	
                <div>
                    <div class="feed-activity-list">
                     <#list noticeList as map >
                        <div class="feed-element">
                     
                            <div class="media-body ">
                                    <small class="pull-right">${map['releasedate']}</small>
                                       <a class="tabClass" data-name="${map['title']}" data-url="${WEB_PATH}/reg/notice/view/noticedetail.do?id=${map['ID']}">
                                    	 <small>${map['title']}</small> 
                                       </a>
                                    <br>
                            </div>
                      
                        </div>
                    </#list>  
                        
                    </div>
                </div>
			 <#else>
                  <p class="text-left">&nbsp;</p>
                  <p class="text-center">&nbsp;</p>
          		  <p class="text-center">暂时没有系统公告</p>
           		 <p class="text-right">&nbsp;</p>
              </#if>
            </div>
        </div>
	</div>
</#macro>


<#macro checkViews>
	<link rel="stylesheet" type="text/css" href="${WEB_PATH}/resources/css/normalize.css" />
	<link rel="stylesheet" type="text/css" href="${WEB_PATH}/resources/css/htmleaf-demo.css">
	<link type="text/css" rel="stylesheet" href="${WEB_PATH}/resources/css/posterTvGrid.css">
	  <div class="col-sm-7">
		  		<div class="htmleaf-container" style="margin-top: -40px;">
					<div class="htmleaf-content">
						<div id="posterTvGrid" style="margin:40px auto 0 auto;"></div>
					</div>
				</div>
				
				<script type="text/javascript" src="${WEB_PATH}/resources/js/posterTvGrid.js"></script>
				<script type="text/javascript">
				var posterTvGrid = new posterTvGrid('posterTvGrid',{className: "posterTvGrid"},[
					<@portsCount type="wz">
							<@portsCount type="zt" tableName="epa_table_conditions_method">
								{"div":"<div style='width:350px;height:200px;text-align: center;'><div style='height: 65%;background: #A3C6FE;border-radius: 10px 10px 0 0;box-shadow: 2px 4px 6px #423333;'><div class='bg-zh-a'><#list bgList as bg><#if bg.BGB == 'epa_table_conditions_method'>${bg.BGCOUNT}</#if></#list></div><div class='bg-zh-b'>点燃式发动机汽车稳定工况法排气污染物检测报告</div></div><div style='height: 35%;background: #FFF;border-radius: 0 0 10px 10px;box-shadow: 2px 4px 6px #423333;'><div class='bg-zh-c'>待审核：${ztcount.sdsh}</div><div class='bg-zh-c'>通过/<span style='color:#B6B6B6'>未通过</span>：${ztcount.tg}/<span style='color:#B6B6B6'>${ztcount.wtg}</span></div></div></div>"},
							</@portsCount>
							<@portsCount type="zt" tableName="epa_test_lambda_info">
								{"div":"<div style='width:350px;height:200px;text-align: center;'><div style='height: 65%;background: #C4EFA7;border-radius: 10px 10px 0 0;box-shadow: 2px 4px 6px #423333;'><div class='bg-zh-a1'><#list bgList as bg><#if bg.BGB == 'epa_test_lambda_info'>${bg.BGCOUNT}</#if></#list></div><div class='bg-zh-b1'>点燃式发动机汽车稳定工况法排气污染物检测报告</div></div><div style='height: 35%;background: #FFF;border-radius: 0 0 10px 10px;box-shadow: 2px 4px 6px #423333;'><div class='bg-zh-c1'>待审核：${ztcount.sdsh}</div><div class='bg-zh-c1'>通过/<span style='color:#B6B6B6'>未通过</span>：${ztcount.tg}/<span style='color:#B6B6B6'>${ztcount.wtg}</span></div></div></div>"},
							</@portsCount>
							<@portsCount type="zt" tableName="epa_opacity_smoke_method">
								{"div":"<div style='width:350px;height:200px;text-align: center;'><div style='height: 65%;background: #FEB5A4;border-radius: 10px 10px 0 0;box-shadow: 2px 4px 6px #423333;'><div class='bg-zh-a2'><#list bgList as bg><#if bg.BGB == 'epa_opacity_smoke_method'>${bg.BGCOUNT}</#if></#list></div><div class='bg-zh-b2'>点燃式发动机汽车稳定工况法排气污染物检测报告</div></div><div style='height: 35%;background: #FFF;border-radius: 0 0 10px 10px;box-shadow: 2px 4px 6px #423333;'><div class='bg-zh-c2'>待审核：${ztcount.sdsh}</div><div class='bg-zh-c2'>通过/<span style='color:#B6B6B6'>未通过</span>：${ztcount.tg}/<span style='color:#B6B6B6'>${ztcount.wtg}</span></div></div></div>"},
							</@portsCount>
							<@portsCount type="zt" tableName="epa_load_reduction_method">
								{"div":"<div style='width:350px;height:200px;text-align: center;'><div style='height: 65%;background: #FFE4A5;border-radius: 10px 10px 0 0;box-shadow: 2px 4px 6px #423333;'><div class='bg-zh-a3'><#list bgList as bg><#if bg.BGB == 'epa_load_reduction_method'>${bg.BGCOUNT}</#if></#list></div><div class='bg-zh-b3'>点燃式发动机汽车稳定工况法排气污染物检测报告</div></div><div style='height: 35%;background: #FFF;border-radius: 0 0 10px 10px;box-shadow: 2px 4px 6px #423333;'><div class='bg-zh-c3'>待审核：${ztcount.sdsh}</div><div class='bg-zh-c3'>通过/<span style='color:#B6B6B6'>未通过</span>：${ztcount.tg}/<span style='color:#B6B6B6'>${ztcount.wtg}</span></div></div></div>"}]
							</@portsCount>
					</@portsCount>
				);
				</script>
	  </div>
</#macro>
<#macro msgViews>
	  <div class="col-sm-5" style="margin-bottom: 30px;margin-top: 20px;">
        <div class="tabs-container-new">
							            <ul class="nav nav-tabs-new">
							            	<li class="active"><a data-toggle="tab" href="#tab-1" aria-expanded="true">最新消息</a> </li>
												<li class=""><a data-toggle="tab" href="#tab-2" aria-expanded="false">系统公告</a> </li>
												<li class=""><a data-toggle="tab" href="#tab-4" aria-expanded="false">法律法规</a> </li>
							            </ul>
							            <div class="tab-content" style="margin-left: 2px;">
								                <div id="tab-1" class="tab-pane active">
								                    <div class="ibox-content" style="height: 180px;">
										              <#if (msgNoticeList?size>0)>
										                <div>
										                    <div class="feed-activity-list">
										                   
										                        <#list msgNoticeList as map >
										                            <div class="feed-element">
										                                <div class="media-body ">
										                                        <small class="pull-right">${(map['CJSJ'])}</small>
										                                           <a class="tabClass" href="javascript:;" data-name="${map['msgTitle']}" data-url="${WEB_PATH }/reg/msgnotice/view/detail.do?id=${map['ID']}">
										                                           ${map['msgTitle']}
										                                         </a>
										                                </div>
										                            </div>
										                        </#list> 
										                    </div>
										                    <div class="ibox-tools" style="margin-top: 10px;">
									                	 <#if (total > 0)>
									                	 	<span class="label label-warning-light">${total}条未读</span>
										                    </#if>
										                      <a  data-name="消息中心" data-url="${WEB_PATH }/reg/msgnotice/view/index.do" class="btn-outline btn-success btn-xs tabClass"  style="color: #F41E1E;">更多</a>
										                      <img src="${WEB_PATH }/resources/img/home_icon_btn05.png"/>
										                </div>
										                </div>
										                 <#else>
										                  <p class="text-left">&nbsp;</p>
										                  <p class="text-center">&nbsp;</p>
										          		  <p class="text-center">您暂时没有最新消息</p>
										           		 <p class="text-right">&nbsp;</p>
										              </#if>
										            </div>
								                </div>
								                <div id="tab-2" class="tab-pane">
								                    <div class="ibox-content" style="height: 180px;">
													<#if (noticeList?size>0)>	
										                <div>
										                    <div class="feed-activity-list">
										                     <#list noticeList as map >
										                        <div class="feed-element">
										                     
										                            <div class="media-body ">
										                                    <small class="pull-right">${map['releasedate']}</small>
										                                       <a class="tabClass" data-name="${map['title']}" data-url="${WEB_PATH}/reg/notice/view/noticedetail.do?id=${map['ID']}">
										                                    	 ${map['title']}
										                                       </a>
										                                    <br>
										                            </div>
										                        </div>
										                    </#list>  
										                    </div>
										                    <div class="ibox-tools" style="margin-top: 10px;">
													                   <a  data-name="系统公告" data-url="${WEB_PATH}/reg/notice/view/noticeindex.do" class="btn-outline btn-success btn-xs tabClass"  style="color: #F41E1E;">更多</a>
													                	<img src="${WEB_PATH }/resources/img/home_icon_btn05.png"/>
													                </div>
										                </div>
													 <#else>
										                  <p class="text-left">&nbsp;</p>
										                  <p class="text-center">&nbsp;</p>
										          		  <p class="text-center">暂时没有系统公告</p>
										           		 <p class="text-right">&nbsp;</p>
										              </#if>
										            </div>
								                </div>
								                <div id="tab-4" class="tab-pane">
								                    <div class="ibox-content" style="height: 180px;">
														<#if (lawList?size>0)>	
										                <div>
										                    <div class="feed-activity-list">
										                   <#list lawList as map >
										                        <div class="feed-element">
										                       
										                            <div class="media-body ">
										                                    <small class="pull-right">${map['inputdate']}</small>
										                                     <a class="tabClass" data-name="${map['title']}" data-url="${WEB_PATH}/reg/law/view/noticedetail.do?id=${map['ID']}">
										                                     	${map['title']}
										                                     </a>
										                                    <br>
										                            </div>
										                        </div>
										                    </#list>
										                    </div>
										                    <div class="ibox-tools" style="margin-top: 10px;">
													                   <a  data-name="系统公告" data-url="${WEB_PATH}/reg/notice/view/noticeindex.do" class="btn-outline btn-success btn-xs tabClass" style="color: #F41E1E;">更多</a>
													               	   <img src="${WEB_PATH }/resources/img/home_icon_btn05.png"/>
													                </div>
										                </div>
										                  <#else>
										                  <p class="text-left">&nbsp;</p>
										                  <p class="text-center">&nbsp;</p>
										          		  <p class="text-center">暂时没有法律法规信息</p>
										           		 <p class="text-right">&nbsp;</p>
										              </#if>
										            </div>
							            </div>
							        </div>
							   </div>
	  </div>
</#macro>